package com.bub.pay.framework.common.entity.model;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.List;

public class SessionModel implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1327965407580878729L;
	@JSONField(serialize = false)
	private String loginName;
	@JSONField(serialize = false)
	private String loginIp;
	private Long userId;
	private String authToken;
	private Long extendId;
	@JSONField(serialize = false)
	private int userType;
	private int bindGoogle;
	private int bindEmail;
	private int bindPhone;
	private int bindPayPass;
	private String nickName;
	@JSONField(serialize = false)
	private String email;
	@JSONField(serialize = false)
	private String googleSecret;
	@JSONField(serialize = false)
	private String phone;
	@JSONField(serialize = false)
	private String payPass;
	@JSONField(serialize = false)
	private String userPassword;
	@JSONField(serialize = false)
	private String roleName;

	private int isSys;

	private int resetFlag;

	private List<String> roleList;//角色编码

	private List<String> codeList;//菜单编码

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getLoginIp() {
		return loginIp;
	}

	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getAuthToken() {
		return authToken;
	}

	public void setAuthToken(String authToken) {
		this.authToken = authToken;
	}

	public Long getExtendId() {
		return extendId;
	}

	public void setExtendId(Long extendId) {
		this.extendId = extendId;
	}

	public int getUserType() {
		return userType;
	}

	public void setUserType(int userType) {
		this.userType = userType;
	}

	public int getBindGoogle() {
		return bindGoogle;
	}

	public void setBindGoogle(int bindGoogle) {
		this.bindGoogle = bindGoogle;
	}

	public int getBindEmail() {
		return bindEmail;
	}

	public void setBindEmail(int bindEmail) {
		this.bindEmail = bindEmail;
	}

	public int getBindPhone() {
		return bindPhone;
	}

	public void setBindPhone(int bindPhone) {
		this.bindPhone = bindPhone;
	}

	public int getBindPayPass() {
		return bindPayPass;
	}

	public void setBindPayPass(int bindPayPass) {
		this.bindPayPass = bindPayPass;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getGoogleSecret() {
		return googleSecret;
	}

	public void setGoogleSecret(String googleSecret) {
		this.googleSecret = googleSecret;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPayPass() {
		return payPass;
	}

	public void setPayPass(String payPass) {
		this.payPass = payPass;
	}

	public int getIsSys() {
		return isSys;
	}

	public void setIsSys(int isSys) {
		this.isSys = isSys;
	}

	public int getResetFlag() {
		return resetFlag;
	}

	public void setResetFlag(int resetFlag) {
		this.resetFlag = resetFlag;
	}

	public List<String> getRoleList() {
		return roleList;
	}

	public void setRoleList(List<String> roleList) {
		this.roleList = roleList;
	}

	public List<String> getCodeList() {
		return codeList;
	}

	public void setCodeList(List<String> codeList) {
		this.codeList = codeList;
	}

	public String getUserPassword() {
		return userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
}
